<?php
/**
* @file RoomMessage.php
* Copyright (c) Friends Group. All rights reserved.
* $Id$
*
*/

require_once(realpath(dirname(__FILE__)) . '/../classes/BaseObject.php');

class RoomMessage extends BaseObject 
{

    /**
     * @AttributeType int
     */
    protected $senderID;

    /**
     * @AttributeType int
     */
    protected $chatRoomID;

    /**
     * @AttributeType int
     */
    protected $messageID;

    public function __construct($senderID = "", $chatRoomID = "", $messageID = "")
    {
        $this -> senderID = $senderID;
        $this -> chatRoomID = $chatRoomID;
        $this -> messageID = $messageID;
    }
    
    /**
     * @ParamType senderID int
     */
    public function setSenderID($senderID) 
    {
        $this->senderID = $senderID;
    }

    /**
     * @ReturnType int
     */
    public function getSenderID() 
    {
        return $this->senderID;
    }

    /**
     * @ParamType chatRoomID int
     */
    public function setChatRoomID($chatRoomID) 
    {
        $this->chatRoomID = $chatRoomID;
    }

    /**
     * @ReturnType int
     */
    public function getChatRoomID() 
    {
        return $this->chatRoomID;
    }

    /**
     * @ParamType messageID int
     */
    public function setMessageID($messageID) 
    {
        $this->messageID = $messageID;
    }

    /**
     * @ReturnType int
     */
    public function getMessageID() 
    {
        return $this->messageID;
    }
}
?>